package com.travel.sight.feign;

import com.travel.common.oss.OssUploadTo;
import com.travel.common.utils.R;
import lombok.Data;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("travel-third-party")
public interface ThirdpartyFeignService {

    @RequestMapping("/oss/upload")
    void PostObject(@RequestBody OssUploadTo ossUploadTo) throws Exception;
}
